﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using Data;
namespace Business
{
   public class ChiTietBaoCaoTonService
    {
       public static ChiTietBaoCaoTonDTO GetChiTietBaoCaoTon(int maBaoCao, int maSach)
       {
           return ChiTietBaoCaoTonRepository.GetChiTietBaoCao(maBaoCao, maSach);
       }
       public static void Insert(ChiTietBaoCaoTonDTO chiTietBaoCao)
       {
           ChiTietBaoCaoTonRepository.Insert(chiTietBaoCao);
       }

       public static void Update(ChiTietBaoCaoTonDTO chiTietBaoCao)
       {
           ChiTietBaoCaoTonRepository.Update(chiTietBaoCao);
       }
       public static bool Exists(int maBaoCao, int maSach)
       {
           return ChiTietBaoCaoTonRepository.Exists(maBaoCao, maSach);
       }
    }
}
